﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020003B1 RID: 945
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class DelSaveRaidScNotify : IMessage<DelSaveRaidScNotify>, IMessage, IEquatable<DelSaveRaidScNotify>, IDeepCloneable<DelSaveRaidScNotify>, IBufferMessage
	{
		// Token: 0x17000C1D RID: 3101
		// (get) Token: 0x06002A43 RID: 10819 RVA: 0x00074BD8 File Offset: 0x00072DD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<DelSaveRaidScNotify> Parser
		{
			get
			{
				return DelSaveRaidScNotify._parser;
			}
		}

		// Token: 0x17000C1E RID: 3102
		// (get) Token: 0x06002A44 RID: 10820 RVA: 0x00074BDF File Offset: 0x00072DDF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return DelSaveRaidScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000C1F RID: 3103
		// (get) Token: 0x06002A45 RID: 10821 RVA: 0x00074BF1 File Offset: 0x00072DF1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return DelSaveRaidScNotify.Descriptor;
			}
		}

		// Token: 0x06002A46 RID: 10822 RVA: 0x00074BF8 File Offset: 0x00072DF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DelSaveRaidScNotify()
		{
		}

		// Token: 0x06002A47 RID: 10823 RVA: 0x00074C00 File Offset: 0x00072E00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DelSaveRaidScNotify(DelSaveRaidScNotify other) : this()
		{
			this.worldLevel_ = other.worldLevel_;
			this.raidId_ = other.raidId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002A48 RID: 10824 RVA: 0x00074C31 File Offset: 0x00072E31
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DelSaveRaidScNotify Clone()
		{
			return new DelSaveRaidScNotify(this);
		}

		// Token: 0x17000C20 RID: 3104
		// (get) Token: 0x06002A49 RID: 10825 RVA: 0x00074C39 File Offset: 0x00072E39
		// (set) Token: 0x06002A4A RID: 10826 RVA: 0x00074C41 File Offset: 0x00072E41
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint WorldLevel
		{
			get
			{
				return this.worldLevel_;
			}
			set
			{
				this.worldLevel_ = value;
			}
		}

		// Token: 0x17000C21 RID: 3105
		// (get) Token: 0x06002A4B RID: 10827 RVA: 0x00074C4A File Offset: 0x00072E4A
		// (set) Token: 0x06002A4C RID: 10828 RVA: 0x00074C52 File Offset: 0x00072E52
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint RaidId
		{
			get
			{
				return this.raidId_;
			}
			set
			{
				this.raidId_ = value;
			}
		}

		// Token: 0x06002A4D RID: 10829 RVA: 0x00074C5B File Offset: 0x00072E5B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as DelSaveRaidScNotify);
		}

		// Token: 0x06002A4E RID: 10830 RVA: 0x00074C69 File Offset: 0x00072E69
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(DelSaveRaidScNotify other)
		{
			return other != null && (other == this || (this.WorldLevel == other.WorldLevel && this.RaidId == other.RaidId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06002A4F RID: 10831 RVA: 0x00074CA8 File Offset: 0x00072EA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.WorldLevel != 0U)
			{
				num ^= this.WorldLevel.GetHashCode();
			}
			if (this.RaidId != 0U)
			{
				num ^= this.RaidId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002A50 RID: 10832 RVA: 0x00074D00 File Offset: 0x00072F00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002A51 RID: 10833 RVA: 0x00074D08 File Offset: 0x00072F08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002A52 RID: 10834 RVA: 0x00074D14 File Offset: 0x00072F14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.WorldLevel != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.WorldLevel);
			}
			if (this.RaidId != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.RaidId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002A53 RID: 10835 RVA: 0x00074D70 File Offset: 0x00072F70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.WorldLevel != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.WorldLevel);
			}
			if (this.RaidId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.RaidId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002A54 RID: 10836 RVA: 0x00074DC8 File Offset: 0x00072FC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(DelSaveRaidScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.WorldLevel != 0U)
			{
				this.WorldLevel = other.WorldLevel;
			}
			if (other.RaidId != 0U)
			{
				this.RaidId = other.RaidId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002A55 RID: 10837 RVA: 0x00074E18 File Offset: 0x00073018
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002A56 RID: 10838 RVA: 0x00074E24 File Offset: 0x00073024
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 120U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.RaidId = input.ReadUInt32();
					}
				}
				else
				{
					this.WorldLevel = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040010B4 RID: 4276
		private static readonly MessageParser<DelSaveRaidScNotify> _parser = new MessageParser<DelSaveRaidScNotify>(() => new DelSaveRaidScNotify());

		// Token: 0x040010B5 RID: 4277
		private UnknownFieldSet _unknownFields;

		// Token: 0x040010B6 RID: 4278
		public const int WorldLevelFieldNumber = 2;

		// Token: 0x040010B7 RID: 4279
		private uint worldLevel_;

		// Token: 0x040010B8 RID: 4280
		public const int RaidIdFieldNumber = 15;

		// Token: 0x040010B9 RID: 4281
		private uint raidId_;
	}
}
